package io.renren.modules.carMove.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.carMove.dao.ShootCarMoveDao;
import io.renren.modules.carMove.entity.ShootCarMoveEntity;
import io.renren.modules.carMove.service.ShootCarMoveService;



@Service("shootCarMoveService")
public class ShootCarMoveServiceImpl implements ShootCarMoveService {
	@Autowired
	private ShootCarMoveDao shootCarMoveDao;
	
	@Override
	public ShootCarMoveEntity queryObject(String shootId){
		return shootCarMoveDao.queryObject(shootId);
	}
	
	@Override
	public List<ShootCarMoveEntity> queryList(Map<String, Object> map){
		return shootCarMoveDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return shootCarMoveDao.queryTotal(map);
	}
	
	@Override
	public void save(ShootCarMoveEntity shoot){
		shootCarMoveDao.save(shoot);
	}
	
	@Override
	public void update(ShootCarMoveEntity shoot){
		shootCarMoveDao.update(shoot);
	}
	
	@Override
	public void delete(String shootId){
		shootCarMoveDao.delete(shootId);
	}
	
	@Override
	public void deleteBatch(String[] shootIds){
		shootCarMoveDao.deleteBatch(shootIds);
	}
	
}
